#include "mixer.h"

Mixer::Mixer(QObject *parent) :
    QObject(parent)
{
    for (int i = 0 ; i<(k_nChannels + 1); ++i){
        channels[i].volume = 0.5;
        channels[i].pan = 0.;
        channels[i].isMuted = false;
    }
}

void Mixer::volume(int i, float volume){
    channels[i].volume = volume;
} // master is 0
void Mixer::pan(int channel, float pan){
    Q_UNUSED(channel)
    Q_UNUSED(pan)
}
void Mixer::mute(int channel, bool isMuted){
    Q_UNUSED(channel)
    Q_UNUSED(isMuted)
}
